/*eslint no-empty-function: ["error", { "allow": ["getters"] }]*/

const obj = {
  get foo() {}
};

class A {
  get foo() {}
  static get foo() {}
}